﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CloudFranceTriple.Models;

namespace CloudFranceTriple.WebRole.Areas.Member.Controllers
{
    public class VeteranWallController : Controller
    {
        private cloudfrAboq2RsDMEntities db = new cloudfrAboq2RsDMEntities();

        //
        // GET: /Member/VeteranWall/

        [AllowAnonymous]
        public ActionResult Index()
        {
            return View(db.VeteranWallPeriod.OrderBy(vp=>vp.VeteranWallYearPeriod).ThenBy(vp2=>vp2.VeteranWallMonthPeriod).ToList());
        }

        protected override void Dispose(bool disposing)
        {
            db.Dispose();
            base.Dispose(disposing);
        }
    }
}